package com.lxz.ob_shape_print;

public class Linear  extends BaseShape implements Shape {


    public Linear() {
        name = "Linear";
    }

    public Linear(String name) {
        this.name = name;
    }

    @Override
    public void draw() {
        System.out.println("print" + name);
    }


}
